<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改作业任务</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-10 column">
            <div class="page-header">
                <h1>
                    <small>修改作业任务</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/task/updateTask" method="post" id="taskform">
        <div class="form-group">
<%--            <label>作业任务编号：</label>--%>
            <input type="hidden" name="task_id" value="${QTask.task_id}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>作业任务名字：</label>
            <input type="text" name="task_name" value="${QTask.task_name}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>开始时间：</label>
            <input type="date" name="start_time" value="${QTask.start_time}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>截止时间：</label>
            <input type="date" name="stop_time" value="${QTask.stop_time}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>作业内容：</label>
<%--            <input type="text" name="text_content" value="${QTask.text_content}" class="form-control" required>--%>
            <textarea form="taskform" style="width: 500px; height: 300px " cols="50" rows="6" name="text_content">
                ${QTask.text_content}
            </textarea>
        </div>
        <div class="form-group">
            <label>附件：</label>
            <input type="text" name="tipss" value="${QTask.tipss}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>课程名：</label>
            <input type="text" name="cname" value="${QTask.cname}" class="form-control" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="发布">
            <span>${msg}</span>
        </div>

    </form>

</div>
</body>
</html>